      <div class="nav">
        <div class="nav-section">
			<span style="float:left;">
			  <a href="<?php echo site_url(); ?>" <?php echo (!uri_string() || ($this->uri->segment(1)==='show' && $this->uri->segment(2)==='city' && $this->uri->segment(3)!='1'))?'class="cur"':''; ?>>城市团购</a>
			  <?php if($this->dx_auth->is_logged_in()){ ?>
				<a href="<?php echo site_url('user'); ?>" <?php echo ($this->uri->segment(1)==='user')? 'class="cur"':''; ?>>账户设置</a>
					<?php if($this->dx_auth->is_admin()){ ?>
				<a href="<?php echo site_url('admin'); ?>" >管理后台</a>	
			  <?php } } ?>
			</span>
			<span style="float:right;">
			<?php if($this->dx_auth->is_logged_in()){ ?>
				<a style="font-size:13px;text-decoration: none;font-weight:normal;padding:0 0 0 200px;text-align:right;color:#cdeff9">当前登录用户：<?php echo $this->dx_auth->get_username(); ?>，</a><a style="font-size:13px;font-weight:normal;padding:0 0 0 6px;text-align:left;color:#ffffff" href="<?php echo site_url('reg/logout');?>" class="logout">退出</a>
			<?php } ?>
			</span>
        </div>
      </div>
      <div style="width:940px;height:90px;overflow:hidden;margin:0 auto 10px">
        <a href="<?php echo AD_LINK; ?>" target="_blank">
          <object type="application/x-shockwave-flash" data="<?php echo base_url(); ?>code/flash_banner_yellow.swf" width="940px" height="90px">
              <param name="movie" value="<?php echo base_url(); ?>code/flash_banner_yellow.swf" />
          </object>
        </a>
      </div>